home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zlaqge.z / zlaqge
Encoding:
Text File  |  2002-10-03  |  4.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZLLLLAAAAQQQQGGGGEEEE((((3333SSSS))))                                                          ZZZZLLLLAAAAQQQQGGGGEEEE((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZLAQGE - equilibrate a general M by N matrix A using the row and scaling
  10.      factors in the vectors R and C
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE ZLAQGE( M, N, A, LDA, R, C, ROWCND, COLCND, AMAX, EQUED )
  14.  
  15.          CHARACTER      EQUED
  16.  
  17.          INTEGER        LDA, M, N
  18.  
  19.          DOUBLE         PRECISION AMAX, COLCND, ROWCND
  20.  
  21.          DOUBLE         PRECISION C( * ), R( * )
  22.  
  23.          COMPLEX*16     A( LDA, * )
  24.  
  25. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  26.      These routines are part of the SCSL Scientific Library and can be loaded
  27.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  28.      directs the linker to use the multi-processor version of the library.
  29.  
  30.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  31.      4 bytes (32 bits). Another version of SCSL is available in which integers
  32.      are 8 bytes (64 bits).  This version allows the user access to larger
  33.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  34.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  35.      only one of the two versions; 4-byte integer and 8-byte integer library
  36.      calls cannot be mixed.
  37.  
  38. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  39.      ZLAQGE equilibrates a general M by N matrix A using the row and scaling
  40.      factors in the vectors R and C.
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      M       (input) INTEGER
  44.              The number of rows of the matrix A.  M >= 0.
  45.  
  46.      N       (input) INTEGER
  47.              The number of columns of the matrix A.  N >= 0.
  48.  
  49.      A       (input/output) COMPLEX*16 array, dimension (LDA,N)
  50.              On entry, the M by N matrix A.  On exit, the equilibrated matrix.
  51.              See EQUED for the form of the equilibrated matrix.
  52.  
  53.      LDA     (input) INTEGER
  54.              The leading dimension of the array A.  LDA >= max(M,1).
  55.  
  56.      R       (input) DOUBLE PRECISION array, dimension (M)
  57.              The row scale factors for A.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZLLLLAAAAQQQQGGGGEEEE((((3333SSSS))))                                                          ZZZZLLLLAAAAQQQQGGGGEEEE((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      C       (input) DOUBLE PRECISION array, dimension (N)
  75.              The column scale factors for A.
  76.  
  77.      ROWCND  (input) DOUBLE PRECISION
  78.              Ratio of the smallest R(i) to the largest R(i).
  79.  
  80.      COLCND  (input) DOUBLE PRECISION
  81.              Ratio of the smallest C(i) to the largest C(i).
  82.  
  83.      AMAX    (input) DOUBLE PRECISION
  84.              Absolute value of largest matrix entry.
  85.  
  86.      EQUED   (output) CHARACTER*1
  87.              Specifies the form of equilibration that was done.  = 'N':  No
  88.              equilibration
  89.              = 'R':  Row equilibration, i.e., A has been premultiplied by
  90.              diag(R).  = 'C':  Column equilibration, i.e., A has been
  91.              postmultiplied by diag(C).  = 'B':  Both row and column
  92.              equilibration, i.e., A has been replaced by diag(R) * A *
  93.              diag(C).
  94.  
  95. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  96.      THRESH is a threshold value used to decide if row or column scaling
  97.      should be done based on the ratio of the row or column scaling factors.
  98.      If ROWCND < THRESH, row scaling is done, and if COLCND < THRESH, column
  99.      scaling is done.
  100.  
  101.      LARGE and SMALL are threshold values used to decide if row scaling should
  102.      be done based on the absolute size of the largest matrix element.  If
  103.      AMAX > LARGE or AMAX < SMALL, row scaling is done.
  104.  
  105. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  106.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  107.  
  108.      This man page is available only online.
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.